class Project < ActiveRecord::Base
  acts_as_tree :order => "name"
  belongs_to :tracker
  has_many :project_members
  has_many :users, :through => :project_members
  has_many :iterations
  has_many :stories, :through => :iterations
  has_many :project_tasks
  
  validates_presence_of :name
end
